package upmc.fr.android.rss.actions;

public class UserException extends Exception
{
	public enum Errors { EXISTING_FEED, INVALID_URL } ;
	private static final long serialVersionUID = 1L;
	private Errors error_code;	
	
	public UserException(Errors code)
	{
		this.error_code = code;
	}
	
	public Errors getErrorCode()
	{
		return this.error_code;
	}

}
